<template>
    <!-- 快捷链接  -->
    <XtxShortCut />
    <!-- 头部导航  -->
    <XtxHeaderNav />

  <div class="app-container">
    <!-- <h1>App根组件</h1> -->
    <!-- <router-link to="/index">首页</router-link> -->
    <!-- <router-link to="/about">关于</router-link> -->
    <!-- <router-link to="/movie">电影</router-link> -->
    <!-- <hr> -->
    <router-view></router-view>
  </div>
    <!-- 最新专题 -->
    <XtxTopic />
    <!-- 版权底部 -->
    <XtxFooter />
</template>

<style scoped>
.app-container {
  text-align: center;
  font-size: 16px;
}
.app-container a {
  padding: 10px;
  color: #000;
}
.app-container a.router-link-active {
  color: #fff;
  background-color: #000;
}
/* 更改路由链接激活项的类名 */
/* .app-container .router-active{
  color: #fff;
  background-color: #999;
} */
</style>

<script>
import XtxShortCut from './components/common/XtxShortCut.vue'
import XtxHeaderNav from './components/common/XtxHeaderNav.vue'
import XtxBanner from './components/index/XtxBanner.vue'
import XtxNewGoods from './views/bclothing.vue'
import XtxHotBrand from './views/robe.vue'
import XtxTopic from './components/index/XtxTopic.vue'
import XtxFooter from './components/common/XtxFooter.vue'
export default {
  components: {
    XtxShortCut: XtxShortCut,
    XtxHeaderNav,
    XtxBanner,
    XtxNewGoods,
    XtxHotBrand,
    XtxTopic,
    XtxFooter
  }
}
</script>
